package com.ruoyi.api.base;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;

public class BaseApi extends BaseController {

    public AjaxResult success (String msg, Object data){
        return new AjaxResult(AjaxResult.Type.SUCCESS, msg, data);
    }
}
